<include file='Common:header'/>
	<link rel="stylesheet" href="__PUBLIC__/Css/member.css" />
	<script type="text/javascript" src='__PUBLIC__/Js/member.js'></script>
</head>
<body>
	<include file='Common:top'/>
<!--------------------中部-------------------->
	<div id='center'>
		<include file="Common:mleft"/>

		<div id='right'>
			<p class='title'>{$role}的提问</p>
			<ul class='ask-filter'>
				<li class='cur'>待解决问题</li>
				<li>已解决问题</li>
			</ul>
			<div class='list list-filter'>
				<table>
					<if condition='!$myAsk'>
						<tr height='140'>
							<td>你还没有待解决的提问</td>
						</tr>
					<else/>
						<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
						<foreach name='myAsk' item='v'>
							<tr>
								<td class='t1'>
									<a href="{:U('Show/index', array('id' => $v['id']))}">{$v.content}</a><span>[{$v.name}]</span>
								</td>
								<td>{$v.answer}</td>
								<td class='t3'>{$v.time|time_format=###}</td>
							</tr>
						</foreach>
					</if>
				</table>
			</div>
			<div class='list list-filter hidden'>
				<table>
					<if condition='!$myAnswer'>
						<tr height='140'>
							<td>你还没有已解决的提问</td>
						</tr>
					<else/>
						<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
						<foreach name='myAnswer' item='v'>
							<tr>
								<td class='t1'>
									<a href="{:U('Show/index', array('id' => $v['id']))}">{$v.content}</a><span>[{$v.name}]</span>
								</td>
								<td>{$v.answer}</td>
								<td class='t3'>{$v.time|time_format=###}</td>
							</tr>
						</foreach>
					</if>
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->
<include file="Common:bottom"/>